<!-- Begin product list  -->
<div id="selectedPrd">
    <h1 class="tt-h1">
        <span class="tt-img"><img src="catalog/view/theme/default/img/tt_selected_prd.jpg" alt="Sản phẩm tiêu biểu" /></span>
        <a class="more fl-right" href="<?php echo $this->url->link('product/shop');?>">Xem tất cả sản phẩm</a>
    </h1>
    <ul class="prd-list">
    
    <?php								
     if(isset($products) && sizeof($products) > 0) {
    foreach($products as $rs) {
    ?>  
        <li>
            <a class="thumb tip" title="<?php echo $rs['name'];?>" href="<?php echo $rs['href'];?>"><img src="<?php echo $rs['image'];?>" alt="<?php echo $rs['name'];?>" /></a>
            <a class="prd-tt" href="<?php echo $rs['href'];?>"><?php echo $rs['name'];?></a>
            <p class="rating">
                <span class="min-rating-star inline-block">
                    <span class="min-rating-star rated" style="width: <?php echo ($rs['ratingproduct']+1)*20; ?>%;"></span>
                </span>
            </p>
                                        
            <p class="price">
            Giá : 
            <?php
             if($rs['price']>0) { 
            ?>
            <strong><?php echo $rs['price'];?></strong>
            <?php 
            } else {
            ?>
           	 <?php echo $chuacogia;?>
            <?php
           	}
            ?>
            </p>
            <?php if((int)$rs['is_new'] == 1) {?>
            <span class="new"><img src="catalog/view/theme/default/img/new.png" alt="Mới" /></span>
            <?php }?>
        </li>
        
      <?php } }
      
     ?>                               
    </ul>
</div>
<!-- / product list  -->